using UnityEngine;

public class PanelAnimator : MonoBehaviour
{
	public Animator anim;

	private void Start()
	{
		showStart();
	}

	public void show()
	{
		anim.enabled = true;
		anim.SetTrigger("show");
	}

	public void showStart()
	{
		anim.enabled = true;
		anim.Rebind();
		anim.SetTrigger("start");
	}

	public void hide()
	{
		anim.enabled = true;
		anim.Rebind();
		anim.SetTrigger("hide");
	}

	public void disableGO()
	{
		base.gameObject.SetActive(value: false);
	}

	public void disableAnimator()
	{
		anim.enabled = false;
	}
}
